import Layout from '@/layout'

const configRouter = {
  path: '/configModules',
  component: Layout,
  redirect: '',
  name: 'configModules',
  meta: {
    title: '工作台',
    icon: 'el-icon-s-platform',
    roles: ['super_admin']
  },
  children: [
    {
      path: '/homePage',
      name: 'homePage',
      meta: {
        title: '工作台',
        hideInMenu: true
      },
      hidden: true,
      component: resolve => require(['@/views/modules/homePage'], resolve)
    }
  ]
}
export default configRouter
